package org.goyo.main.services.storage;

import java.util.List;

import org.goyo.common.exception.DBException;
import org.goyo.common.exception.ServiceException;
import org.goyo.common.utils.Pager;
import org.goyo.main.domain.entity.storage.PurInStorage;
import org.goyo.main.domain.entity.storage.PurInStorageEntry;
import org.goyo.main.domain.entity.system.SysUser;

public interface IPurInStorageService {
	
	public Pager<PurInStorage> findByCondition(String where,Pager pager,Object[] groupUuids) throws DBException,ServiceException; 

	public PurInStorage saveOrUpdateInfo(PurInStorage info,Object[] uuids,SysUser user) throws DBException,ServiceException;
	
	public List<PurInStorageEntry> findByParentId(String parentId) throws DBException,ServiceException;
	
	public void delByUuids(Object[] uuids) throws DBException,ServiceException;
	
	public PurInStorage submitByUuids(Object[] uuids,SysUser user) throws DBException,ServiceException;
	
	public PurInStorage auditByUuids(Object[] uuids,SysUser user) throws DBException,ServiceException;

	public PurInStorage unAuditByUuids(Object[] uuids,SysUser user) throws DBException,ServiceException;

	public PurInStorage findByUuuid(String uuid)  throws DBException,ServiceException;

}
